package com.lebang.service;

import com.lebang.configuration.datasource.DataSource;
import com.lebang.domain.TaskClassify;
import com.lebang.example.TaskClassifyExample;
import com.lebang.mapper.TaskClassifyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* upload_img_record
* @Author hwq
* @Date 2020-09-01
*/
@Service
public class TaskClassifyService extends BaseService<TaskClassify,Long, TaskClassifyExample>{

    @Autowired
    private TaskClassifyMapper taskClassifyMapper;

    @DataSource("commonDB")
    public List<TaskClassify> selectByEx(TaskClassifyExample taskClassifyExample) {
        return taskClassifyMapper.selectByExample(taskClassifyExample);
    }
}
